package com.ibm.cps.message;

import java.util.ArrayList;

import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.ibm.util.exception.CPSException;

public interface IMetadataSort {

	/** 
	 * sort the processor metadatas
	 * @param objects
	 * @return sorted processor metadata
	 * @throws CPSException
	 */
	public ArrayList<ObjectNode> getSortedMetadatas(ArrayNode objects)
			throws CPSException;
}
